package jmine.tec.services.export.export;

import java.util.ArrayList;
import java.util.List;

import jmine.tec.services.api.export.AbstractServiceFillerEntityExporter;
import jmine.tec.services.api.export.DefaultExportAction;
import jmine.tec.services.export.impl.ExportUtils;
import jmine.tec.services.export.services.MockEntityService;
import bancosys.tec.services.export.domain.MockEntity;

public class ServiceFillerMockEntityExporter extends AbstractServiceFillerEntityExporter<MockEntity> {

    public ServiceFillerMockEntityExporter() {
        super(new MockEntityService(), DefaultExportAction.INCLUIR);
    }

    @Override
    public List<Object> exportAfter(MockEntity entity) {
        return new ArrayList<Object>(ExportUtils.wrapList(DefaultExportAction.INCLUIR, entity.getReferences()));
    }
}
